package wrapper;

import com.fasterxml.jackson.annotation.JsonUnwrapped;
import domain.ApplyCondition;
import domain.Recruitment;

/**
 * Created by aceyin on 15/7/7.
 * 简单的 recruitment 封装，为列表页面提供
 */
public class SimpleRecruitment4Worker {
    @JsonUnwrapped
    private Recruitment recruitment;
    private WorkLocationWithDistance workLocation;
    private ApplyCondition applyCondition;

    public Recruitment getRecruitment() {
        return recruitment;
    }

    public void setRecruitment(Recruitment recruitment) {
        this.recruitment = recruitment;
    }

    public WorkLocationWithDistance getWorkLocation() {
        return workLocation;
    }

    public void setWorkLocation(WorkLocationWithDistance workLocation) {
        this.workLocation = workLocation;
    }

    public ApplyCondition getApplyCondition() {
        return applyCondition;
    }

    public void setApplyCondition(ApplyCondition applyCondition) {
        this.applyCondition = applyCondition;
    }
}
